<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */


 /*
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  }
  $content .= '</ol>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
  */
  //modify by  vincent, hard code the best sellers
  $content = '';
	//top 1
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.1</span></div>';
	$content .= '<a href="http://www.kr.lucklaser.com/-p-31.html"><img src="/images/blue-1000mw-2000mw-new-laser pointer.jpg"  width="150"  ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kr.lucklaser.com/-p-31.html">블루 레이저 포인터 2000mw 고공률 레이저 포인터 성냥을 점화하기 공률 보장 무료 운송</a>';
	$content .= '<div>$139</div>';
	$content .= '</div>';

	
	
	
	
	//top 2
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.2</span></div>';
	$content .= '<a href="http://www.kr.lucklaser.com/-p-169.html"><img src="/images/1000mw best green laser pointers (1).jpg"  width="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kr.lucklaser.com/-p-169.html">초고공률 레이저포인터 추천 ! 532nm 1000mW 그린레이저포인터, 성냥을 점화하기, 원거리 발사</a>';
	$content .= '<div>$159</div>';
	$content .= '</div>';	
	
	
	//top 3
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.3</span></div>';
	$content .= '<a href="http://www.kr.lucklaser.com/-p-167.html"><img src="/images/powerful blue 2000mw laser pointer (1).jpg"  width="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kr.lucklaser.com/-p-167.html">할인 50% OFF! 고공률 레이저 포인터 445nm 2000mw 파란색 레이저 포인터 공률 보장 -- 무료 운송</a>';
	$content .= '<div>$149</div>';
	$content .= '</div>';
	
	
	//top 4
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.4</span></div>';
	$content .= '<a href="http://www.kr.lucklaser.com/-p-168.html"><img src="/images/golden powerful laser (10).jpg"  width="150"  ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kr.lucklaser.com/-p-168.html">멋있다 ! 황금 디자인 2000mw 파란색 레이저 포인터 초강력 레이저 포인터 고공율, 3초 안에 성</a>';
	$content .= '<div>$149</div>';
	$content .= '</div>';

	
	
		
	//top 5
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.5</span></div>';
	$content .= '<a href="http://www.kr.lucklaser.com/-p-159.html"><img src="/images/303 golden style green laser pointer (1).jpg"  width="150" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.kr.lucklaser.com/-p-159.html">가장 인기있는 200mw 녹색 레이저 포인터 황금 스타일 안전 열쇠 부가 무료 운송!</a>';
	$content .= '<div>$29</div>';
	$content .= '</div>';	



	 //base  top5
	  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
	  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
	  for ($i=1; $i<=5; $i++) {
		$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
	  }
	
	  $content .= '</ol>' . "\n";
	  $content .= '</div>' . "\n";
	  $content .= '</div>';
?>